package com.yc.ycrpc;

/**
 * @author yc112
 */
public class ServiceInvoker {

    public Object invoker(ServiceInstance instance, Request request) {
        return ReflectionUtils.invoker(instance.getTarget(),
                instance.getMethod(),
                request.getParameters());
    }
}
